<%@ Page Language="C#" MasterPageFile="../Master/MasterPageAdm.master" AutoEventWireup="true"
    CodeFile="CadT_DOWNLOAD.aspx.cs" Inherits="Cadastro_CadT_DOWNLOAD" Title="UMEVOR - Upload" %>

<asp:Content ID="cphPagina" ContentPlaceHolderID="cphPagina" runat="Server">
    <table cellspacing="0" cellpadding="0" width="100%" border="0" align="left">
        <tr>
            <td colspan="2" class="titulo_miolo" style="padding-left: 8px; height: 20px; background-image: url(../images/bara_sobrecsn.jpg);
                width: 100%;" align="left">
                <b>Uploads</b>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="height: 25px; width: 100%;" align="left">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="left" colspan="2" style="padding-left: 30px; width: 758px; height: 51px">
                <!-- ESPAAMENTO LATERAL -->
                <table border="0" class="texto" style="height: 8px; text-align: left">
                    <tr>
                        <td align="left" colspan="2" style="height: 16px">
                            Quantidade de Uploads a serem realizados</td>
                    </tr>
                    <tr>
                        <td align="left" style="height: 16px;">
                            <asp:TextBox ID="txtQtd" runat="server" CssClass="texto" Width="33px"  onblur="mascara(this,caracteresValidos)"></asp:TextBox>
                        </td>
                        <td align="left" style="height: 16px; width: 499px;">
                            <asp:ImageButton ID="btAdicionar" runat="server" ImageUrl="../images/bt_adicionar.jpg" OnClick="btAdicionar_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td align="left" colspan="2" style="height: 16px">
                        </td>
                    </tr>
                    <tr>
                        <td align="left" colspan="2" style="height: 16px">
                            <asp:GridView ID="gvInsUpload" runat="server" AutoGenerateColumns="False"
                                Width="561px" OnRowCreated="gvInsUpload_RowCreated">
                                <Columns>                                    
                                    <asp:TemplateField HeaderText="Arquivo">
                                        <ItemTemplate>
                                            <asp:FileUpload ID="txtArquivo" runat="server" CssClass="texto" Width="100%" />
                                            <asp:HiddenField ID="downloadHiddenField" runat="server" />
                                        </ItemTemplate>
                                        <ItemStyle Width="30%" />
                                    </asp:TemplateField>
                                </Columns>
                            </asp:GridView>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" style="height: 16px" colspan="2">
                        </td>
                    </tr>
                    <tr>
                        <td align="right" colspan="2" style="height: 19px">                            
                            <asp:ImageButton ID="btSalvar" runat="server" ImageUrl="../images/bt_gravar.gif" OnClick="btSalvar_Click" />
                            <asp:ImageButton ID="btLimpar" runat="server" ImageUrl="../images/bt_limpar.gif" OnClick="btLimpar_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td align="left" colspan="2" style="height: 19px">
                        </td>
                    </tr>                    
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
